import { defineStore } from 'pinia'
import { Substation } from '/@/stores/interface'

export const useSubstation = defineStore('substation', {
    state: (): Substation => {
        return {
            host: '',
            name: ''
        }
    },
    actions: {
        dataFill(state: Substation) {
            this.$state = state
        }
    },
})
